const PROXY_CONFIG = [
    {
        context: [
            "/configuration.pinpoint",
            "/serverTime.pinpoint",
            "/userConfiguration.pinpoint",
            "/applications.pinpoint",
            "/getServerMapData.pinpoint",
            "/getServerMapDataV2.pinpoint",
            "/getResponseTimeHistogramDataV2.pinpoint",
            "/getLinkTimeHistogramData.pinpoint",
            "/getFilteredServerMapDataMadeOfDotGroup.pinpoint",
            "/getAgentList.pinpoint",
            "/getAgentStat/jvmGc/chart.pinpoint",
            "/getAgentStat/cpuLoad/chart.pinpoint",
            "/getAgentStat/transaction/chart.pinpoint",
            "/getAgentStat/activeTrace/chart.pinpoint",
            "/getAgentStat/responseTime/chart.pinpoint",
            "/getAgentStat/dataSource/chartList.pinpoint",
            "/getAgentStat/totalThreadCount/chart.pinpoint",
            "/getAgentStat/loadedClass/chart.pinpoint",
            "/getApplicationStat/memory/chart.pinpoint",
            "/getApplicationStat/cpuLoad/chart.pinpoint",
            "/getApplicationStat/transaction/chart.pinpoint",
            "/getApplicationStat/activeTrace/chart.pinpoint",
            "/getApplicationStat/responseTime/chart.pinpoint",
            "/getApplicationStat/dataSource/chart.pinpoint",
            "/getApplicationStat/totalThreadCount/chart.pinpoint",
            "/getApplicationStat/loadedClass/chart.pinpoint",
            "/getAgentStatusTimeline.pinpoint",
            "/getAgentEvents.pinpoint",
            "/getAgentInfo.pinpoint",
            "/transactionmetadata.pinpoint",
            "/transactionInfo.pinpoint",
            "/transactionTimelineInfo.pinpoint",
            "/sqlBind.pinpoint",
            "/jsonBind.pinpoint",
            "/getScatterData.pinpoint",
            "/agent/activeThreadLightDump.pinpoint",
            "/agent/activeThreadDump.pinpoint",
            "/getAgentInstallationInfo.pinpoint",
            "/isAvailableApplicationName.pinpoint",
            "/isAvailableAgentId.pinpoint",
            "/userGroup.pinpoint",
            "/user.pinpoint",
            "/userGroup/member.pinpoint",
            "/application/alarmRule/checker.pinpoint",
            "/application/alarmRule.pinpoint",
            "/getAgentStat/fileDescriptor/chart.pinpoint",
            "/getApplicationStat/fileDescriptor/chart.pinpoint",
            "/getAgentStat/directBuffer/chart.pinpoint",
            "/getApplicationStat/directBuffer/chart.pinpoint",
            "/admin/removeAgentId.pinpoint",
            "/admin/removeInactiveAgents.pinpoint",
            "/bind.pinpoint",
            "/getAgentStat/uriStat/chartList.pinpoint",
            "/heatmap/drag.pinpoint",
            "/traceViewerData.pinpoint",
            "/application/webhook.pinpoint",
            "/application/webhookSendInfo.pinpoint",
            "/application/alarmRule/includeWebhooks.pinpoint"
        ],
        target: 'http://localhost:8080',
        secure: false
    },
    {
        context: [
            "/agent/activeThread.pinpointws"
        ],
        target: "http://localhost:8080",
        secure: false,
        ws: true
    }
]

module.exports = PROXY_CONFIG;